(const): Move outside !HAVE_CONFIG_H conditional.
authorRichard M. Stallman <rms@gnu.org>
Wed, 4 Dec 2002 11:17:43 +0000 (11:17 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 4 Dec 2002 11:17:43 +0000 (11:17 +0000)
commit27f5b5ba92a6ad2f90635fe5bdba1ae96e848b34
treed9548b7f9d9d6ff68f587b3adec5a8ce2bad69ce
parentf438597c47d774e107ae2fcad0110d51f842ca73
(const): Move outside !HAVE_CONFIG_H conditional.
(libintl.h): Include this if _LIBC.  Otherwise include gettext.h.
(wchar.h): Include, maybe.
(attribute_hidden): Define if not defind.
(__getopt_initialized): Use attribute_hidden.
(__libc_argc, __libc_argv): Renamed from original_argc, etc.
(__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
Conditional on USE_NONOPTION_FLAGS.
(SWAP_FLAGS): New definitions.
(exchange): Test USE_NONOPTION_FLAGS.
(_getopt_initialize): Test USE_NONOPTION_FLAGS.
(_getopt_internal): Error if argc < 1.  New local var print_errors.
Improve test for ambiguous long option.
Add LIBIO support for error message output.
(NONOPTION_P): Test USE_NONOPTION_FLAGS.
lib-src/getopt.c